import 'package:json_annotation/json_annotation.dart';

part 'group_bug.g.dart';

@JsonSerializable()
class GroupBugModel {

  ///编号
  String code;

  /// 图片地址
  String img;

  String name;

  GroupBugModel({required this.name, required this.img, required this.code});

  factory GroupBugModel.fromJson(Map<String, dynamic> json) => _$GroupBugModelFromJson(json);

  Map<String, dynamic> toJson() => _$GroupBugModelToJson(this);

  @override
  String toString() {
    return toJson().toString();
  }
}